﻿using System;
using System.Collections.Generic;
using System.Text;

namespace HttpShare
{
    class HttpServerMessageBody
    {
        public HttpServerMessageBody(string message)
        {
            this.Message = message;
        }

        public string Message { get; }

        public string ToJsonFormat() => "{" + $"\"{nameof(HttpServerMessageBody)}\" :" + "{" + $"\"{nameof(this.Message)}\"" + " :\"" + this.Message + "\"}" + "}";

    }
}
